package io.renren.modules.study.service.impl;

import io.renren.modules.study.dao.IntergralDao;
import io.renren.modules.study.entity.IntergralHistory;
import io.renren.modules.study.service.IntergeralService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Service
@Transactional
public class IntergeralServiceImpl implements IntergeralService{

    @Autowired
    IntergralDao intergralDao;

    @Override
    public List<IntergralHistory> getMyIntergralHistoryList(Integer id) {
        return intergralDao.getMyIntergralHistoryList(id);
    }
}
